package com.hskn.hss.module.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hskn.hss.entity.TreeEntity;
import com.hskn.hss.module.user.entity.User;
import com.hskn.hss.module.user.entity.UserFull;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author haojiliang
 * @since 2020-11-16
 */
public interface UserMapper extends BaseMapper<User> {

    List<UserFull> getUserList(Map filterMap);

    Long getUserListCount(Map filterMap);

    UserFull getUserDetail(String uid);

    List<TreeEntity> getUserTree();

}
